package com.training.hatton.dropboxclient;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.training.hatton.dropboxclient.utill.DropboxService;

public class DropboxLauncherActivity extends Activity {

	@Override
    public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
       if (!DropboxService.isAuthorizated()){
        	startActivity(new Intent(this, DropboxLoginActivity.class));
        }else{
        	startActivity(new Intent(this, DropboxContainerActivity.class));
        }
        finish();
    }
}
